<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport"
          content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
    <meta name="format-detection" content="telephone=no"/>
    <title>商家商品分类</title>
    <link rel="stylesheet" type="text/css" href="../css/aui.css"/>
    <link rel="stylesheet" type="text/css" href="../css/common.css"/>
    <link rel="stylesheet" type="text/css" href="../css/style.css"/>
    <style>
        /*.aui-bar-nav{*/
        /*background-color: white;*/
        /*color: black;*/
        /*}*/
    </style>
</head>
<body>
<header class="aui-bar aui-bar-nav">
    <div class="aui-col-xs-12 ">
        <div class="aui-pull-left aui-iconfont aui-icon-left icon-left-coler" tapmode onclick="closeWin()"></div>
        <div class="aui-title">
            ---
        </div>
    </div>
</header>
</body>
<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript" src="../script/common.js"></script>
<script type="text/javascript" src="../script/jquery.min.js"></script>
<script type="text/javascript">
    var categoryId = "";
    apiready = function () {
        api.parseTapmode();
        categoryId = api.pageParam.categoryId;
        var header = $api.dom('header');
        $api.fixIos7Bar(header);

        var header_h = $api.offset(header).h;
        var body_h = $api.offset($api.dom('body')).h - header_h;
        api.openFrame({
            name: 'supplierCategoryList_frm',
            url: 'supplierCategoryList_frm.html',
            rect: {
                x: 0,
                y: header_h,
                w: 'auto',
                h: body_h
            },
            pageParam: {
                categoryId: categoryId
            },
            bounces: false,
            vScrollBarEnabled: false,
            hScrollBarEnabled: false
        });
        api.addEventListener({
            name: "setTitle",
        }, function (ret, err) {
            if (ret && ret.value) {
                $(".aui-title").text(ret.value.title)
            }
        })
    }

</script>
</html>
